<{extends file="../Share/list.tpl"}>
<{block name="content"}>
    <{*<{$xwlm = XWLM::create($params['XWLM_BH'])}>*}>
    <div class="list-view" id="XWXX_List" data-url="<{'XWXX_Query'|U}>" data-type="post">
        <div class="list-view-operation-top clearfix">
            <div class="list-view-add">
                <span class="button" data-role="view" data-url="<{'XWXX_Insert'|U}>" data-type="post" data-message="">添加</span>
                <{*<span class="button" data-role="refresh">刷新</span>*}>
                <{*<span class="button" data-role="back" data-parent="1">返回</span>*}>
            </div>
            <div class="list-view-search" data-role="head">
                <span class="remark">
                    <{*新闻栏目：<{$xwlm->XWLM_MC}>*}>
                </span>
                <{*<input type="hidden" name="XWLM_BH" value="<{$params['XWLM_BH'] }>"/>*}>
                <label>模糊查询</label>
                <input type="text" class="search-input" title="按新闻信息标题、摘要进行模糊查询" id="XWXX_MHCX" name="MHCX"/>
                <span class="space"></span>
                <{$xwlm= XWLM::query()}>
                <{'XWLM_BH'|html_dropdownlist:$xwlm.DataList:null:'XWLM_BH':'XWLM_MC':'请选择新闻栏目...'}>
                <span class="space"></span>
                <select name="XWXX_ZT">
                    <option selected="selected" value="">请选择状态...</option>
                    <option value="显示">显示</option>
                    <option value="隐藏">隐藏</option>
                </select>
                <span class="space"></span>
                <label>日期</label>
                <input class="search-date" name="XWXX_RQBegin" type="text" />
                <span>--</span>
                <input class="search-date" name="XWXX_RQEnd" type="text" />
				<span class="button" data-role="refresh">搜索</span>
            </div>
        </div>
        <div data-role="target">
            <{include file="XWXX_Query.tpl"}>
        </div>
    </div>
<{/block}>
<{block name="scripts"}>
    <script>
        $(function(){
            //在模糊查询输入框中按回车键，自动刷新
            $("#XWXX_MHCX").keypress(function (event) {
                if (event.keyCode == 13) {
                    $(this).siblings("span[data-role=refresh]").trigger("click");
                }
            });
            $("[name=XWXX_RQBegin]").datepicker();
            $("[name=XWXX_RQEnd]").datepicker();
            $("#XWXX_List").listView();
        });
    </script>
<{/block}>
<{block name="nav"}>
    <a href="<{'XWXX_Index'|U}>" target="_self" >新闻信息</a>
<{/block}>
<{block name="style"}><{/block}>

